﻿using Newtonsoft.Json;

namespace Common.Types
{
    [JsonObject(MemberSerialization.OptIn)]
    public class PlacesResult
    {
        [JsonProperty("name")]
        public string Name { get; set; }

        [JsonProperty("vicinity")]
        public string Vicinity { get; set; }

        [JsonProperty("types")]
        public string[] Types { get; set; }

        [JsonProperty("icon")]
        public string Icon { get; set; }

        [JsonProperty("reference")]
        public string Reference { get; set; }

        [JsonProperty("id")]
        public string Id { get; set; }

        [JsonProperty("geometry")]
        public Geometry Geometry { get; set; }
    }
}
